import axios from "@/utils/axios";
//发证方列表
export const lssuerListApi = (parmas) => {
    return axios.get("/issuer/page", parmas);
};
//发证方详情
export const lssuerDetailApi = (parmas) => {
    return axios.get(`/issuer/${parmas.id}`);
};
//发证方审核
export const lssuerUpdateApi = (parmas) => {
    return axios.put(`/issuer/${parmas.id}?status=${parmas.status}`);
};
//发证方删除
export const lssuerDeleteApi = (parmas) => {
    return axios.delete(`/issuer/${parmas.id}`);
};
//发证方注册
export const lssuerRegisterApi = (parmas) => {
    return axios.post(`/issuer/create`, parmas);
};
//发证方详情(没有id)
export const lssuerDetailNoIdApi = () => {
    return axios.get(`/issuer/current`);
};
//发证方列表（枚举）
export const lssuerListEnumApi = () => {
    return axios.get(`/issuer/enum`);
};